package com.lysj.bhp.borrowing.vo;

import javax.persistence.Column;
import java.math.BigDecimal;

/**
 * @Author: ZhangWenJian
 * @Create: 2018/8/14--17:19
 * @Description:借贷流水账表Vo
 */
public class BorrowingWasteBookVo {
    //借贷流水账表
    private Long borrowingWasteBookId;
    private Long postAccountId;//处理账户Id，用来查看该流水目的账号
    @Column(name = "dealMoney", columnDefinition = "decimal(25,8)")
    private BigDecimal dealMoney; //交易金额
    private Integer walletType;//币种类型 10:btc,20:eth,100:phpc
    private Integer wasteType;//流水状态 1.借款 2.还款 3.逾期还款违约金 4.提前全部还款违约金
    //用户信息
    private String email;//该用户邮箱

    public BorrowingWasteBookVo() {
    }

    public BorrowingWasteBookVo(Long borrowingWasteBookId, Long postAccountId, BigDecimal dealMoney, Integer walletType, Integer wasteType, String email) {
        this.borrowingWasteBookId = borrowingWasteBookId;
        this.postAccountId = postAccountId;
        this.dealMoney = dealMoney;
        this.walletType = walletType;
        this.wasteType = wasteType;
        this.email = email;
    }

    public Integer getWalletType() {
        return walletType;
    }

    public void setWalletType(Integer walletType) {
        this.walletType = walletType;
    }

    public Long getBorrowingWasteBookId() {
        return borrowingWasteBookId;
    }

    public void setBorrowingWasteBookId(Long borrowingWasteBookId) {
        this.borrowingWasteBookId = borrowingWasteBookId;
    }

    public Long getPostAccountId() {
        return postAccountId;
    }

    public void setPostAccountId(Long postAccountId) {
        this.postAccountId = postAccountId;
    }

    public BigDecimal getDealMoney() {
        return dealMoney;
    }

    public void setDealMoney(BigDecimal dealMoney) {
        this.dealMoney = dealMoney;
    }

    public Integer getWasteType() {
        return wasteType;
    }

    public void setWasteType(Integer wasteType) {
        this.wasteType = wasteType;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
